import requests
from pprint import  pprint
from hytest  import *
import json

class APIMgr:

    def printResponse(self,response):
        print('\n\n-------- HTTP response * begin -------')
        print(json.dumps(response.json(),ensure_ascii=False,indent=4))
        INFO("测试结果：\n"+json.dumps(response.json(),ensure_ascii=False,indent=4))
        print('-------- HTTP response * end -------\n')

am=APIMgr()